package stru

import (
	"fmt"
	"gitlab.yoyiit.com/youyi/go-core/handler"
	"strconv"
)

type ListCounterpartyPermissionDataRequest struct {
	handler.BasePaginationRequest
	CounterpartyId int64 `json:"counterpartyId" form:"counterpartyId"`	//关联的交易对手ID
	CounterpartyContactId int64 `json:"counterpartyContactId" form:"counterpartyContactId"`	//交易对手联系方式ID
	UserId int64 `json:"userId" form:"userId"`	//用户ID
	Username string `json:"username" form:"username"`	//用户名称
	Nickname string `json:"nickname" form:"nickname"`	//用户昵称
	PermissionType int64 `json:"permissionType" form:"permissionType"`	//权限类型
	
}

type CounterpartyPermissionData struct {
	Id           int64  `json:"id" form:"id"`
	CounterpartyId int64 `json:"counterpartyId" form:"counterpartyId"`	//关联的交易对手ID
	CounterpartyContactId int64 `json:"counterpartyContactId" form:"counterpartyContactId"`	//交易对手联系方式ID
	UserId int64 `json:"userId" form:"userId"`	//用户ID
	Username string `json:"username" form:"username"`	//用户名称
	Nickname string `json:"nickname" form:"nickname"`	//用户昵称
	PermissionType int64 `json:"permissionType" form:"permissionType"`	//权限类型
	
}

type BatchDeleteCounterpartyPermissionRequest struct {
	Ids []int64 `json:"ids" form:"ids"`
}